package blingking.jfinal.orm.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Map;
/**
 * @author King
 * @description
 * @Date 2020/3/22
 */
@ConfigurationProperties(
        prefix = "jfinal.orm"
)
public class JFinalORMProperties {

    private String modelScanPackage;
    private boolean isScanChild = false;
    private boolean showSql = true;
    private String dataSouceEnable = "false";


    public String getModelScanPackage() {
        return modelScanPackage;
    }

    public void setModelScanPackage(String modelScanPackage) {
        this.modelScanPackage = modelScanPackage;
    }

    public boolean isScanChild() {
        return isScanChild;
    }

    public void setScanChild(boolean scanChild) {
        isScanChild = scanChild;
    }

    public boolean isShowSql() {
        return showSql;
    }

    public void setShowSql(boolean showSql) {
        this.showSql = showSql;
    }

    public String getDataSouceEnable() {
        return dataSouceEnable;
    }

    public void setDataSouceEnable(String dataSouceEnable) {
        this.dataSouceEnable = dataSouceEnable;
    }




}
